<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html >
<head>
<title>websign</title>
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<link href="./css/style.css" rel="stylesheet" type="text/css" />
<!-- ----------------------------------加载websign控件 开始------------------------------------- -->
<script language=javascript src="./js/websign.js"> </script>
<script language=javascript src="./js/loadwebsign.js"> </script>
<!-- ----------------------------------加载websign控件 结束------------------------------------- -->
<!-- ----------------------------------移动印章事件------------------------------------- -->
<script LANGUAGE=javascript FOR=DWebSignSeal EVENT=NotifySealMoved(bstrSealName)>
</script>

<!-- ----------------------------------盖章后事件------------------------------------- -->
<script LANGUAGE=javascript FOR=DWebSignSeal EVENT=NotifyAfterCreateSeal(bstrSealName)>
</script>

<!-- ----------------------------------签章前事件------------------------------------- -->
<script LANGUAGE=javascript FOR=DWebSignSeal EVENT=NotifyBeforeCreateSeal(bstrSealName)>
</script>

<!-- ----------------------------------删除印章事件------------------------------------- -->
<script LANGUAGE=javascript FOR=DWebSignSeal EVENT=NotifyDelSeal(bstrSealName)>
</script>

<!-- ----------------------------------保存手写事件------------------------------------- -->
<script LANGUAGE=javascript FOR=DWebSignSeal EVENT=NotifySaveHandWriteData(bstrSealName)>
</script>

<!-- ----------------------------------锁定印章事件------------------------------------- -->
<script LANGUAGE=javascript FOR=DWebSignSeal EVENT=NotifySealLockPostion(bstrSealName)>
</script>

<!-- ----------------------------------移动印章前事件------------------------------------- -->
<script LANGUAGE=javascript FOR=DWebSignSeal EVENT=NotifySealMoveStart(bstrSealName)>
</script>
</head>
<body>



<div id="page">
	<div class="content"><br/><br/><br/><br/><br/><br/>
		<h1 align="center"><b>文件批办单演示程序</b></h1>
		<span style='mso-ignore:vglayout;position:relative;z-index:1;left:-3px;top:7px;width:558px;height:14px'>
		<img width=620 height=7 src="./css/image/image001.gif" v:shapes="_x0000_s1032"></span>
		<form name="form1" action="store.jsp" method="post">
		<table  width="95%" border="1" cellpadding=1 cellspacing=1 bordercolor="#CCCCCC" bgcolor="#FFFFFF" class="MsoNormalTable" name="">
			
			<tr>
				<td height="98">拟办意见：<br>
					<input type="button" name="seal_niban" onClick="AddSeal('niban')" value="盖章" />
					<input type="button" name="write_niban" onClick="HandWrite('niban')" value="手写" />
				</td>
				<td colspan="3" valign="top" id="nibansealpostion" style="display:n1one;">意见：<br>
					<textarea name="niban" cols="70" rows="8"  onpropertychange="checkData()"></textarea>
				</td>
			</tr>
			<tr>
				<td height="98">主办意见：
					<input type="button" name="seal_zhuban" onClick="AddSeal('zhuban')" value="盖章" />
					<input type="button" name="write_zhuban" onClick="HandWrite('zhuban')" value="手写" />
				</td>
				<td colspan="3" id="zhubansealpostion">意见：<br>
					<textarea name="zhuban" cols="70" rows="8"  onpropertychange="checkData()" ></textarea>
				</td>
			</tr>
			<tr>
				<td height="98">领导意见：
					<input type="button" name="seal_lingdao" onClick="AddSeal('lingdao')" value="盖章" />
					<input type="button" name="write_lingdao" onClick="HandWrite('lingdao')" value="手写" />
				</td>
				<td colspan="3" id="lingdaosealpostion">意见：<br>
					<textarea name="lingdao" cols="70" rows="8"  onpropertychange="checkData()"></textarea>
				</td>
			</tr>
			<tr>
				<td height="98">处理结果：
					<input type="button" name="seal_jiego" onClick="AddSeal('chuli')" value="盖章" />
					<input type="button" name="write_jiego" onClick="HandWrite('chuli')" value="手写" />
				</td>
				<td colspan="3" id="chulisealpostion">意见：<br>
					<textarea name="chuli" cols="70" rows="8"  onpropertychange="checkData()"></textarea>
				</td>
			</tr>
		</table>
		<br>
		<table class=MsoNormalTable border=1 cellspacing=0 cellpadding=0 width=620>
			<tr>
				<td width="635" height="73" id="rPos">
					<input name="GetValue" type="button" id="GetValue" value="获取数据" onClick="GetValue_onclick()">
					<input name="SetValue" type="button" id="SetValue" value="设置数据" onClick="SetValue_onclick()">
					<input name="popshouxie" type="button" id="popshouxie" value="弹出框手写"  onClick="HandWritePop_onclick('rPos')">
					<input type="button" value="隐藏全部印章"  onClick="hiddenseal(0)">
					<input type="button" value="显示全部印章"  onClick="hiddenseal(1)">
					<br>
					<!-- 
					<textarea name="SealData" cols="80" rows="6" id="SealData"></textarea>
					 -->
					<input name="SealData" type="hidden" id="SealData"/>
					
					<input name="submit" type="submit" value="确认提交" onClick="GetValue_onclick()">
				</td>
			</tr>
		</table>
		</form>
	</div> <!-- content -->
</div>
</body>
</html>

<script type="text/javascript">

var seal = "<%=request.getAttribute("SealData")%>";

alert(seal);

document.all.SealData.value = seal;


SetValue_onclick();


</script>